//
//  LYCHomeModel.m
//  爱鲜蜂
//
//  Created by 廖易诚 on 16/6/21.
//  Copyright © 2016年 itcast. All rights reserved.
//

#import "LYCHomeModel.h"

@implementation LYCHomeModel


+ (instancetype)homeModelWithDic:(NSDictionary *)dict {
    LYCHomeModel *model = [[LYCHomeModel alloc] init];
    model.ids = [dict[@"id"] integerValue];
    model.name = dict[@"name"];
    model.toURL = dict[@"toURL"];
    model.customURL = dict[@"customURL"];
    model.img = dict[@"img"];
    
    return model;
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
}

@end
